//系统配置信息
window.config = {
	// baseUrl:" http://10.1.52.52:30800/alphakids/",
	baseUrl: process.env.API_URL, //后台服务地址
	debug: (process.env.NODE_ENV == "development"), //只有开发环境下开启debug模式
	project: process.env.PROJECT, //项目名
	projectName: {
		vxiao: "威校",
		xey: "小鳄鱼",
		keer: "可儿"
	}[process.env.PROJECT], //项目中文名称
	redirectUrl: process.env.STUDY_URL, //学习中心URL
	resourceUrl: process.env.RESOURCE_URL, //资源下载中心RUL
	evaluationReportUrl: process.env.EVALUATION_REPORT_URL, //测评管理-测评报告RUL
	campusTime: {
		minStartTime: "07:00",
		maxEndTime: "21:00"
	},
	timtlist: [],
	weekTimeList: [],
	charCode: [
        "A",
        "B",
        "C",
        "D",
        "E",
        "F",
        "G",
        "H",
        "I",
        "J",
        "K",
        "L",
        "M",
        "N",
        "O",
        "P",
        "Q",
        "R",
        "S",
        "T",
        "U",
        "V",
        "W",
        "X",
        "Y",
        "Z"
      ]
};

//localStorage的key值
window.lsKey = {
	token: "token", //登录标志码
	user: "user", //当前登录的用户
	dict: "dict", //数据字典
	classlist: "classlist", //所有班级
	stsToken: "stsToken", //上传到百度云所需的信息
	username: "username", //上次登录的账号
	password: "password", //上次登录的密码
	pageState:"pageState",//页面TAB状态
};

//信息提示
window.tips = {
	blank: "请完善必填字段",
	name: "请输入1~10位汉字,字母,数字组成的姓名",
	phone: "请输入正确的手机号",
	password: "请输入8~20位密码",
	integer: "请输入正整数",
	classname: '请输入有效的班级名称'
}

//工具对象
window.tool = {};

require("./tool"); //工具方法
require("./tool_date"); //日期工具方法

//tool在App.vue加入了 message,alert,confirm,prompt,msgbox,notify属性
//保存element-ui提供的弹窗对象





